import { date } from 'quasar';

export interface Todo {
	id: number;
	content: string;
}

export interface Meta {
	totalCount: number;
}

export interface Column {
	columnName: string;
	columnComment: string;
	tableName: string;
	tableSchema: string;
}

export interface Respons<T> {
	status: string;
	data: T;
	status_code: number,
	body:any,
}

export interface TableColumn {
	name: string;
	label: string;
	field: string;
  displayName?: string;
}

export interface SelectProdect {
	uuid: string;
	name: string;
	status: string;
}

export interface Pagination {
	sortBy: string,
	descending: boolean,
	page: number,
	rowsPerPage: number,
	rowsNumber: number,
	// filter: number
}

export interface Props {
	pagination: Pagination,
	filter: string,
}

export interface ResData {
	content: any
}

export interface OriginalRows {
	name: string

}


/**
 * 菜单栏
 */
export interface Links {
	title: string,
	icon: string,
	link: string
}


export interface Operation {
	gmtCreate: Date,
	typeName: string,
	operateEntityName: string,
	groupEntityCode: string,
	companyId: string,
	codeName: string,
	operateEventName: string,
	entityType: string,
	entityCode: string,
	gmtModify: Date,
	operateEvent: string,
	objectCode: string,
	id: string,
	operateEntity: string
}

export interface recOperation {
	operateEventName: string,
	operateEvent: string,
  operateEntity: string
}

/**
 * 请求体
 */
export interface ChannelRouteQuery {
	entityCode: string,
	entityType: string,
	sceneCodeType: string,
	objectCodeType: string,
	propertyCode: string,
	companyId: string,
	groupEntityCode: string,
	theirEventCode: string,
}

export interface columnSelection {
	label: string,
	value: string,
	item: any,
	selections: any
}

export interface TableValue {
	Rea_label: string,
	label: string,
	value: any,
	length: number,
	type: string,
	time: boolean,
	arr: columnSelection[],
	arrTemp: columnSelection[],
	selected: string,
	selectionsData: any,
	item: any
}

export interface Sel {
	label: string,
	array: string[]
}





